import http from "@/http"
import type { FgFavoriteTable } from "./FgFavoriteTable"

export const addFgFavoriteApi =(parm:FgFavoriteTable)=>{
    return http.post("/api/fg/add",parm)
}

export const getFgFavoriteApi =(userId:string)=>{
    return http.get("/api/fg/get",{userId})
}

